//THIS FILE IS GENERATED AUTOMATICALLY BY THE BUILDER
using System;
namespace Gamadus.Engine
{
public partial class ResourceMgr
{
public void LoadSettings()
{
GamadusEngine.Instance.GameSettings["AllowESC"] = true;
GamadusEngine.Instance.GameSettings["AllowF4"] = true;
GamadusEngine.Instance.GameSettings["AllowCloseButton"] = true;
GamadusEngine.Instance.GameSettings["StartFullScreen"] = false;
}
public class Resources : SingletonManager<Resources>
{
public void Init()
{
Room rm;
Object obj;

neu2 = ResourceMgr.Instance.CreateObject(0);
obj = ResourceMgr.Instance.GetObject(neu2);
//this.neu2 = typeof(neu2);
//ResourceMgr.Instance.ResourceTable.Add("neu2", this.neu2);
neu3 = ResourceMgr.Instance.CreateRoom(0);
rm = ResourceMgr.Instance.GetRoom(neu3);
rm.bgcolor = System.Drawing.Color.FromArgb(255, 0, 0, 0);
rm.persistent = false;
rm.width = 640;
rm.caption = "my room";
rm.height = 480;
rm.speed = 30;
neu4 = ResourceMgr.Instance.CreateRoom(1);
rm = ResourceMgr.Instance.GetRoom(neu4);
rm.bgcolor = System.Drawing.Color.FromArgb(255, 255, 0, 0);
rm.persistent = false;
rm.width = 400;
rm.caption = "my second room";
rm.height = 300;
rm.speed = 60;
}
public int neu2;
public int neu3;
public int neu4;
}

public void FillRoom(Room lev)
{
if(lev.ID == Resources.Instance.neu3)
{
	ResourceMgr.Instance.CreateInstance(Resources.Instance.neu2,208,208,lev);
}
}

public void HandleTest()
{
	Console.WriteLine("Creating");
}
}
}

